//
//  OrderABModel.m
//  DMGME
//
//  Created by MC on 15/11/3.
//  Copyright © 2015年 GYP. All rights reserved.
//

#import "OrderABModel.h"

@implementation OrderABModel
+(BOOL)propertyIsOptional:(NSString *)propertyName{
    return YES;
}
+(OrderABModel *)modelWithDic:(NSDictionary *)dic
{
    return [[OrderABModel alloc] initWithDic:dic];
}
-(id)initWithDic:(NSDictionary *)dic
{
    if (self = [super init]) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}
- (NSMutableArray *)goodsArray{
    if (!_goodsArray) {
        _goodsArray = [NSMutableArray array];
    }
    return _goodsArray;
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
}
- (id)valueForUndefinedKey:(NSString *)key{
    return nil;
}

@end
